const routes = [
  {
    path: '/',
    redirect: '/login',
  },
  {
    path: '/login',
    name: 'Login',
    component: () => import('@/view/login/Login.vue')
  },
  {
    path: '/demo',
    name: 'Demo',
    component: () => import('@/view/Demo.vue')
  },
  {
    path: '/inner',
    name: 'Inner',
    component: () => import('@/view/inner/Inner.vue')
  },
  // 大屏 - 驾驶舱
  {
    path: '/cockpit',
    name: 'Cockpit',
    component: () => import('@/view/map/cockpit/Cockpit.vue')
  },
  // 大屏 - 一张图指挥调度
  {
    path: '/map',
    name: 'OneMap',
    component: () => import('@/view/map/one-map/OneMap.vue')
  },
  // 新兴领域
  {
    path: "/xxly/inner",
    name: "XXLYInner",
    component: () => import("@/view/inner/Inner.vue"),
    meta: {
      base: 'xxly'
    }
  },
]

export { routes }
